﻿<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="DistrictDetail.aspx.cs" Inherits="MockPrjTeam1.Pages.Views.DistrictDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="templatemo_main">
        <table width="100%" cellspacing="0">
            <tr height="50">
                <td colspan="2" style="font-size:large; color:green">Trust District Details</td>
            </tr>
            <tr>
                <td width="6%" style="border-width: thin; border-style: groove groove none groove;" align="center" valign="middle">Details</td>
                <td align="right" style="border-style: none none groove none; border-width: thin">
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="Save" TabIndex="4"/>&nbsp;
                    <asp:Button ID="btnBack" runat="server" Text="Back" OnClientClick="javascript:history.back(); return false;" TabIndex="5"/>&nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border-style: hidden groove groove groove; border-width: thin">
                    <table width="100%">
                        <tr>
                            <td width="15%">Trust Region Name</td>
                            <td>
                                <asp:TextBox ID="txtRegion" runat="server" Width="300px" ReadOnly="true"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>Trust District Name <font color="red">*</font></td>
                            <td>
                                <asp:TextBox ID="txtDistrict" runat="server" Width="300px" TabIndex="1"></asp:TextBox>
                                <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>Description</td>
                            <td>
                                <asp:TextBox ID="txtDescription" runat="server" Width="300px" Height="100px" TabIndex="2"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>Is Active?</td>
                            <td>
                                <asp:CheckBox ID="cbActive" runat="server" TabIndex="3"></asp:CheckBox>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>

        <script type="text/javascript">

            OnLoad();
            function OnLoad() {
                document.getElementById("ctl00_MainContent_txtDistrict").focus();
            }
        </script>
    </div>
</asp:Content>

